﻿$(function () {
    $(".fancybox-image").fancybox({'type': 'image'});
    $(".fancybox-video").fancybox(
        {
            closeClick: false,
            fitToView: false,
            autoSize: false,
            width: 600,
            height: 405,
            'afterShow': function() {
                $('video').mediaelementplayer({
                    plugins: ['flash','silverlight'],
                    pluginPath: GetPath('Content/')
                });
            }
        });
});